<table border="1">
	<th>Order</th>
	<th>Frist Name</th>
	<th>Last Name</th>
	<th>Address</th>
	<th>Phone</th>
	<th>Status</th>
	<th>Action</th>
		
	
	<{foreach from=$customerList item=phantu}>
		<tr> 
			<td> <{$phantu.cus_id}> </td>
			<td> <{$phantu.cus_firstname}> </td>		
			<td> <{$phantu.cus_lastname}> </td>	
			<td> <{$phantu.cus_address}> </td>	
			<td> <{$phantu.cus_phone}> </td>	
			<td> <{$phantu.cus_status}> </td>	
			<td> 
				<a href="<{$smarty.const.APPLICATION_URL}>customers/editForm/<{$phantu.cus_id}>">					
					edit 
				</a>
				| 
				<{if $phantu.cus_status==1}>
					<a href="<{$smarty.const.APPLICATION_URL}>customers/inactive/<{$phantu.cus_id}>">					
							Inactive					
					</a> 
				<{else}>
					<a href="<{$smarty.const.APPLICATION_URL}>customers/active/<{$phantu.cus_id}>">					
							Active					
					</a> 
				<{/if}>
			</td>		
			
		</tr>
	<{/foreach}>
</table>